package com.xiongwei.memento;

/**
 * 备忘录
 * @author XiongWei
 * @date 2024/2/19
 */
public class Memento {

    private int attack;

    private int defense;

    public Memento(int attack, int defense) {
        this.attack = attack;
        this.defense = defense;
    }

    public int getAttack() {
        return attack;
    }

    public void setAttack(int attack) {
        this.attack = attack;
    }

    public int getDefense() {
        return defense;
    }

    public void setDefense(int defense) {
        this.defense = defense;
    }
}
